package com.jswitch.common.exception;

public class SdpException extends Exception{


    public SdpException(String message) {
        super(message);
    }

    public SdpException(String message, Throwable rootCause) {
        super(rootCause.getMessage() + ";" + message);
    }

    public SdpException(Throwable rootCause) {
        super(rootCause.getLocalizedMessage());
    }

    public Throwable getRootCause() {
        return this.fillInStackTrace();
    }
}
